import {createRouter,createWebHashHistory} from 'vue-router'
import main from "@/views/main.vue";
import login from "@/pages/login.vue"
import wordPage from "@/pages/wordPage/wordPage.vue";

const myrou = [
    {
        path:"/",
        redirect:'/login'
    },{
        path:'/login',
        component:login
    },{
        path:'/wordPage',
        component:wordPage
    }
]
const s= createRouter({
    routes:myrou,
    history:createWebHashHistory(),
})

export default s;